#include <QCoreApplication>
#include <iostream>

class Date{
public:
    int day;
    int month;
    int year;

    void print(){
        std::cout << day << "." << month << "." << year << std::endl;
    }

    Date(){
        day = 0;
        month = 0;
        year = 0;
    }

    Date(int d, int m, int y){
        day = d;
        month = m;
        year = y;
    }

};


int main(){
    //QCoreApplication a(argc, argv);

    Date today(18,01,2022);

    today.print();

    return 0;
}
